﻿/// <reference path="~/Scripts/Library/jquery-1.9.1.min.js" />

var postbackController = "Sponsor";

function ConfigurationItem_Validate() {

    var isValid = true;

    var lastResponseMessageLabel = $("#LastResponseMessageLabel");


    if ($("input:checkbox[name=AllowedParent]:checked").val() == undefined) {

        $("#ItemPropertyTabsContent_GeneralProperties").addClass("ui-state-error");

        $($("#PropertyTabs>ul>li")[0]).addClass("ui-state-error");

    }
    
    return isValid;

}

function ConfigurationItem_OnReady() {



}
